package com.qianfeng.iot.tenant.pojo;


import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;
import java.util.List;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Dc3Tenant {
  //在添加之前需要先生成ID,id不能为空,但是不是自增的
  private String id;
  //不能为空,理论上不可以重复,但是实际上也可以
  private String name;
  private Long enable;
  private String description;
  private LocalDate createTime;
  private LocalDate updateTime;
  private Long deleted;

  private List<Dc3User> userList;//当前租户下的用户


}
